﻿
    using System;
    using System.Data;
namespace THSLib
{
    public class STRptsController : BaseBusinessController
    {
        public STRptsController()
        {
            base.dal = new DALBaseProvider("STRpts", typeof(STRptsInfo));
        }

        public DataSet GetAllData_ByAll_FK_STUserGroup(int iFK_ADUserGroupID, int iFK_STModuleID)
        {
            return base.dal.GetDataSet("STRpts_SelectAllSTRpts_ByAll_FK_STUserGroup", new object[] { iFK_ADUserGroupID, iFK_STModuleID });
        }

        public DataSet GetAllData_ByGroupName(string strGroupName)
        {
            return base.dal.GetDataSet("STRpts_SelectAll_ByGroup", new object[] { strGroupName });
        }

        public DataSet GetAllData_ByGroupName_And_FK_STUserGroup(string strGroupName, int iFK_ADUserGroupID, int iFK_STModuleID)
        {
            return base.dal.GetDataSet("STRpts_SelectAll_ByGroupName_And_FK_STUserGroup", new object[] { strGroupName, iFK_ADUserGroupID, iFK_STModuleID });
        }

        public DataSet GetAllGroup()
        {
            return base.dal.GetDataSet("STRpts_SelectAllGroup");
        }

        public DataSet GetAllGroup_ByAll_FK_STUserGroup(int iFK_ADUserGroupID, int iFK_STModuleID)
        {
            return base.dal.GetDataSet("STRpts_SelectAllSTRptGroup_ByAll_FK_STUserGroup", new object[] { iFK_ADUserGroupID, iFK_STModuleID });
        }
    }
}

